package com.yuexun.dhdoctor.module.mythings.model;



import com.yuexun.dhdoctor.base.BaseEntity;
import com.yuexun.dhdoctor.base.bean.model.HelpFileBean;
import com.yuexun.dhdoctor.module.mythings.bean.AnnualLeaveBean;
import com.yuexun.dhdoctor.module.mythings.bean.BackMemberData;
import com.yuexun.dhdoctor.module.mythings.bean.FeedBackResultBean;
import com.yuexun.dhdoctor.module.mythings.bean.FlowMemberData;
import com.yuexun.dhdoctor.module.mythings.bean.SignDtlData;
import com.yuexun.dhdoctor.module.mythings.bean.TaskListData;
import com.yuexun.dhdoctor.module.mythings.bean.TaskMainBean;
import com.yuexun.dhdoctor.module.mythings.bean.TypeData;
import com.yuexun.dhdoctor.module.mythings.bean.WhiteData;

import java.util.Map;

import rx.Observable;

/**
 * Created by work-jx on 2016/8/31.
 */
public interface IThingModel {
    //事项列表
    public Observable<TaskListData> getOtherTaskDatas(Map<String, String> praise);

    //抄送事项列表
    public Observable<TaskListData> getCopyTaskDatas(Map<String, String> praise);

    //审批
    public Observable<FeedBackResultBean> approvalTask(Map<String, String> praise);

    //签字区域
    public Observable<BaseEntity<SignDtlData>> getDtlList(Map<String, String> praise);

    //白名单
    public Observable<WhiteData> whiteList(Map<String, String> praise);

    public Observable<BaseEntity<TypeData>> getTypeDatas(Map<String, String> praise);

    //获取报修帮助文件
    public Observable<HelpFileBean> getHelpFile(Map<String, String> params);

    //审批反馈是否有指定人员
    public Observable<BaseEntity<FlowMemberData>> getFlowMember(Map<String, String> params);

    //获取流转部门或者个人
    public Observable<BaseEntity<BackMemberData>> getFlowType(Map<String, String> params);

    //查询克隆任务详情
    public Observable<BaseEntity<TaskMainBean>> inquireTaskCloneDetail(Map<String, String> params);

    //判断年休假
    public Observable<BaseEntity<AnnualLeaveBean>> inquireTaskOfZdLeaveDays(Map<String, String> params);
}
